

import { request} from '@/utils/request.util';
import { de } from 'element-plus/es/locales.mjs';
//统计：营收统计
export const getClinicIncome = (body:{
  endDate?: any,
  startDate?: any,
})=> request.get<any>("/clinic/stat/getClinicIncome",{params:body});

//业绩统计
export const clinicPerformanceStat = (body:{
  statDate?:string,
})=> request.post<any>("/clinic/stat/clinicPerformanceStat",body);

//统计：业绩统计-挂号统计
export const getEmpRegDailyList = (body:{
  empId?:any,
  endDate?: any,
  startDate?: any,
  pageNo:number,
  pageSize:number
})=> request.get<any>("/clinic/stat/getEmpRegDailyList",{params:body});

//  统计：业绩统计-收费统计
export const getEmpChargeDailyList = (body:{
  empId?:any,
  endDate?: any,
  startDate?: any,
  pageNo:number,
  pageSize:number
})=> request.get<any>("/clinic/stat/getEmpChargeDailyList",{params:body});

// 统计：业绩统计-门诊统计
export const getEmpMedicalDailyList = (body:{
  empId?:any,
  endDate?: any,
  deptId?:any,
  startDate?: any,
  pageNo:number,
  pageSize:number
})=> request.get<any>("/clinic/stat/getEmpMedicalDailyList",{params:body});


//统计：业绩统计-检查统计/检验统计/执行统计
export const getEmpExamDailyList = (body:{
  empId?:any,
  projectCategory?:any,
  deptId?:any,
  endDate?: any,
  startDate?: any,
  pageNo:number,
  pageSize:number
})=> request.get<any>("/clinic/stat/getEmpExamDailyList",{params:body});


//统计：业绩统计-药房统计
export const getEmpDispenseDailyList = (body:{
  empId?:any,
  deptId?:any,
  endDate?: any,
  startDate?: any,
  pageNo:number,
  pageSize:number
})=> request.get<any>("/clinic/stat/getEmpDispenseDailyList",{params:body});


